descLit

fun Any?.descLit(literalFallback: String = ""): Text

Describes anything (In enchantment description style, or for tooltips, for example). If the thing is Translatable, it will use the built-in description, otherwise it will use the fallback literally

Receiver

Anything, null or not. Translatable will provide its description.

Return

Text description based on the receivers description translation, or the fallback

Author

fzzyhmstrs

Since

0.2.0

Parameters

literalFallback

String - the fallback text, used literally, not as a translation key